package com.gopay.common.domain.bis;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.gopay.common.domain.BaseEntity;

/**
 * 银行交互服务-银行产品通道成本表
 * 
 * @BisBankProdChCost.java
 * @author wanggang
 * @2014-1-9 下午3:29:22 www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name = "BIS_BANK_PROD_CH_COST")
public class BisBankProdChCost extends BaseEntity {

    /**
     * 
     */
    private static final long serialVersionUID = 3787958258578378686L;

    @Id
    @Column(name = "SQ")
    @SequenceGenerator(name = "BIS_BIZ_PROD_SP_BANK_CFG_SEQ_GENERATOR", sequenceName = "BIS_BIZ_PROD_SP_BANK_CFG_SEQ")
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "BIS_BIZ_PROD_SP_BANK_CFG_SEQ_GENERATOR")
    private int id;

    /**
     * 银行业务产品代码
     */
    @Column(name = "BANK_BIZ_PROD_CODE")
    private String prodCode;

    /**
     * 银行业务产品代码
     */
    @Column(name = "INTRFACE_CHANNEL_CODE")
    private String channelCode;

    /**
     * 银行代码
     */
    @Column(name = "BANK_CODE")
    private String bankCode;

    /**
     * 收费类型
     */
    @Column(name = "FEE_TYPE")
    private String feeType;

    /**
     * 收费表达式
     */
    @Column(name = "CAL_EXP")
    private String calExp;

    /**
     * 操作用户ID
     */
    @Column(name = "LAST_UPD_USER_ID")
    private String lastUpdUserId;

    /**
     * 最后修改时间
     */
    @Column(name = "LAST_UPD_TIME")
    private Timestamp lastUpdTime;

    /**
     * 最后修改交易码
     */
    @Column(name = "LAST_UPD_TANS_CODE")
    private String lastUpdTrancode;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getProdCode() {
        return prodCode;
    }

    public void setProdCode(String prodCode) {
        this.prodCode = prodCode;
    }

    public String getChannelCode() {
        return channelCode;
    }

    public void setChannelCode(String channelCode) {
        this.channelCode = channelCode;
    }

    public String getBankCode() {
        return bankCode;
    }

    public void setBankCode(String bankCode) {
        this.bankCode = bankCode;
    }

    public String getFeeType() {
        return feeType;
    }

    public void setFeeType(String feeType) {
        this.feeType = feeType;
    }

    public String getCalExp() {
        return calExp;
    }

    public void setCalExp(String calExp) {
        this.calExp = calExp;
    }

    public String getLastUpdUserId() {
        return lastUpdUserId;
    }

    public void setLastUpdUserId(String lastUpdUserId) {
        this.lastUpdUserId = lastUpdUserId;
    }

    public Timestamp getLastUpdTime() {
        return lastUpdTime;
    }

    public void setLastUpdTime(Timestamp lastUpdTime) {
        this.lastUpdTime = lastUpdTime;
    }

    public String getLastUpdTrancode() {
        return lastUpdTrancode;
    }

    public void setLastUpdTrancode(String lastUpdTrancode) {
        this.lastUpdTrancode = lastUpdTrancode;
    }

}
